/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package demogroup5server;

import demogroup5server.data.LoadProduct;
import java.rmi.RemoteException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author DungTV
 */
public class TestDungtv {
     private static final String namingLoadProduct = "loadproduct";
     static LoadProduct loadProduct ;
     public static void main(String[] args) {
        try {
            loadProduct = new LoadProduct();
            RegServer regServer = RegServer.getInstance();
            regServer.RegisterHost(TestDungtv.namingLoadProduct, loadProduct);
        } catch (RemoteException ex) {
            Logger.getLogger(TestDungtv.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
